﻿using Shop.Core.Share;
using Shop.Model.Dto.Admin.System;
using Shop.Model.View.System;

namespace Shop.IServices.Admin;

public interface ISysConstantService
{
    /// <summary>
    /// 系统配置查询
    /// </summary>
    /// <returns></returns>
    AppResult<List<ConstantListVo>> ConstantList();

    /// <summary>
    /// 修改系统常量
    /// </summary>
    /// <param name="dto"></param>
    /// <param name="userContextId"></param>
    /// <returns></returns>
    AppResult UpdateConstant(UpdateConstantDto dto, long userContextId);
}